<template>
  <div class="flex-row" :style="{'justify-content': rowAlign, 'align-items': colAlign}">
    <slot />
  </div>
</template>

<script>
export default {
  props: {
    rowAlign: {
      type: String,
      default: "center"
    },
    colAlign: {
      type: String,
      default: "center"
    }
  }
};
</script>

<style lang="scss" scoped>
.flex-row {
  display: flex;
}
</style>
